
/* =========================================
   GLOBAL STYLES
========================================= */

:root {
    --primary: #06477f;
    --primary-dark: #073461;
    --blue: #0875cf;
    --light-blue: #eaf4ff;
    --cyan: #55dcf4;
    --text: #34445a;
    --muted: #718096;
    --white: #ffffff;
    --bg: #f5f8fc;
    --border: #e3ebf4;
    --shadow: 0 10px 35px rgba(15, 45, 80, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* =========================================
   TOP GOVERNMENT HEADER
========================================= */

.topbar {
    background: #073c75;
    color: white;
    padding: 10px 0;
}

.top-inner {
    max-width: 1380px;
    margin: auto;
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.gov {
    display: flex;
    align-items: center;
    gap: 13px;
}

.emblem {
    font-size: 27px;
    color: white;
}

.gov-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.gov-copy strong {
    font-size: 12px;
}

.gov-copy span {
    font-size: 10px;
    color: #d5e6ff;
}

.divider {
    height: 35px;
    width: 1px;
    background: rgba(255,255,255,.4);
    margin: 0 8px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
}

.top-links a {
    color: white;
}

.top-links a:hover {
    color: var(--cyan);
}

.top-separator {
    color: #94b8e2;
}

.social {
    width: 32px;
    height: 32px;
    background: #e94359;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

/* =========================================
   BRAND HEADER
========================================= */

.brand-header {
    background: white;
    border-bottom: 1px solid var(--border);
}

.brand-inner {
    max-width: 1380px;
    margin: auto;
    padding: 16px 35px;
    min-height: 105px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dhr-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dhr-brand img {
    width: 370px;
    max-height: 75px;
    object-fit: contain;
}

.brand-divider {
    width: 2px;
    height: 55px;
    background: var(--blue);
}

.programme-name {
    display: flex;
    flex-direction: column;
}

.programme-name span {
    color: #66788c;
    font-size: 12px;
    font-weight: 600;
}

.programme-name strong {
    color: var(--primary);
    font-size: 16px;
}

.brand-back {
    background: var(--light-blue);
    color: var(--primary);
    border-radius: 30px;
    padding: 10px 17px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: .3s;
}

.brand-back:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* =========================================
   HERO BANNER
========================================= */

.bhan-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(90deg,
        rgba(3, 39, 83, .97) 0%,
        rgba(5, 66, 122, .88) 45%,
        rgba(4, 69, 130, .40) 100%),
        url('/staticweb/img/YMF/banner_2.jfif');

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 55%,
        rgba(67, 203, 237, .12)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1380px;
    width: 100%;
    margin: auto;
    padding: 70px 55px 90px;
    color: white;
    animation: fadeUp .9s ease both;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 30px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 22px;
    background: rgba(255,255,255,.08);
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 13px;
    letter-spacing: -.8px;
}

.hero-content h2 {
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 500;
    color: var(--cyan);
    margin-bottom: 20px;
}

.hero-content p {
    max-width: 700px;
    font-size: 15px;
    color: #e3efff;
    line-height: 1.9;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #087ce3;
    color: white;
    padding: 13px 25px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.3);
    transition: .3s;
}

.hero-button:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    bottom: 0;
    right: 0;
    background: rgba(2, 43, 87, .8);
    color: white;
    display: flex;
    gap: 30px;
    padding: 17px 40px;
    font-size: 12px;
    font-weight: 600;
}

.hero-bottom span {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-bottom i {
    color: var(--cyan);
}

/* =========================================
   COMMON SECTION
========================================= */

.section-wrap {
    max-width: 1200px;
    margin: auto;
    padding: 80px 30px;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-tag {
    display: inline-block;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 32px;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================
   PROFILE / INTRODUCTION
========================================= */

.intro-section {
    padding-top: 80px;
    padding-bottom: 90px;
}

.profile-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.profile-image-area {
    background: linear-gradient(145deg, #e7f2ff, #d7eaff);
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-image-frame {
    width: 235px;
    height: 285px;
    padding: 7px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,50,100,.15);
}

.bhan-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

.profile-caption {
    text-align: center;
    margin-top: 20px;
}

.profile-caption h3 {
    font-size: 17px;
    color: var(--primary);
    font-weight: 800;
}

.profile-caption span {
    font-size: 11px;
    color: #61768e;
}

.profile-content {
    padding: 45px 48px;
    align-self: center;
}

.small-label {
    color: var(--blue);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.profile-content h2 {
    color: var(--primary-dark);
    font-size: 27px;
    line-height: 1.4;
    margin: 10px 0 18px;
}

.profile-content p {
    color: #63748a;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 15px;
}

.profile-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    color: var(--blue);
    border-radius: 10px;
    font-size: 17px;
}

.highlight div {
    display: flex;
    flex-direction: column;
}

.highlight strong {
    font-size: 11px;
    color: var(--primary);
}

.highlight span {
    font-size: 10px;
    color: var(--muted);
}

/* =========================================
   JOURNEY TIMELINE
========================================= */

.journey-section {
    background: #f2f7fc;
    position: relative;
    overflow: hidden;
}

.timeline {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 29px;
    width: 3px;
    background: linear-gradient(
        to bottom,
        #0b85e7,
        #9dcaf0
    );
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 25px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.timeline-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #dcecff;
    border-radius: 50%;
    z-index: 2;
    font-size: 19px;
}

.timeline-card {
    position: relative;
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,40,90,.04);
    transition: .3s;
}

.timeline-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: #a9ccef;
}

.timeline-number {
    float: right;
    font-size: 24px;
    font-weight: 800;
    color: #e3effb;
}

.timeline-card h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 9px;
}

.timeline-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================
   CONTRIBUTION CARDS
========================================= */

.contribution-section {
    padding-top: 85px;
    padding-bottom: 90px;
}

.contribution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contribution-card {
    position: relative;
    background: white;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,40,90,.04);
    transition: .35s;
}

.contribution-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,50,100,.11);
    border-color: #b9d8f6;
}

.contribution-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 23px;
}

.contribution-icon.blue {
    background: #e5f1ff;
    color: #0875cf;
}

.contribution-icon.green {
    background: #e3f7ef;
    color: #16a36a;
}

.contribution-icon.orange {
    background: #fff1e4;
    color: #e78b32;
}

.contribution-icon.purple {
    background: #f0eaff;
    color: #7954c5;
}

.card-number {
    position: absolute;
    right: 25px;
    top: 23px;
    font-size: 35px;
    font-weight: 800;
    color: #edf3f9;
}

.contribution-card h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 12px;
}

.contribution-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
}

.card-line {
    width: 40px;
    height: 3px;
    background: var(--blue);
    margin-top: 20px;
    border-radius: 5px;
    transition: .3s;
}

.contribution-card:hover .card-line {
    width: 90px;
}

/* =========================================
   AWARDS
========================================= */

.awards-section {
    background: #f2f7fc;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.award-card {
    background: white;
    border: 1px solid var(--border);
    padding: 35px 22px;
    text-align: center;
    border-radius: 14px;
    transition: .3s;
    box-shadow: 0 5px 20px rgba(0,40,90,.04);
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.award-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    background: #fff3d9;
    color: #d79b27;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
}

.award-card h3 {
    font-size: 16px;
    color: var(--primary);
    min-height: 50px;
}

.award-year {
    display: inline-block;
    padding: 5px 16px;
    background: var(--light-blue);
    color: var(--blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    margin: 12px 0;
}

.award-card p {
    color: var(--muted);
    font-size: 12px;
}

/* =========================================
   LEGACY SECTION
========================================= */

.legacy-section {
    position: relative;
    overflow: hidden;
    padding: 85px 25px;
    text-align: center;
    color: white;

    background:
        radial-gradient(circle at 10% 20%,
        rgba(49,160,226,.23),
        transparent 30%),
        linear-gradient(120deg,
        #052f60,
        #07599b);
}

.legacy-decoration {
    position: absolute;
    right: 10%;
    top: 10px;
    font-size: 160px;
    color: rgba(255,255,255,.045);
}

.legacy-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
}

.legacy-content .section-tag {
    color: var(--cyan);
}

.legacy-content h2 {
    font-size: 36px;
    margin: 10px 0 22px;
    font-weight: 800;
}

.legacy-content > p {
    color: #d7e8fa;
    font-size: 14px;
    line-height: 2;
}

.legacy-divider {
    height: 2px;
    width: 65px;
    background: var(--cyan);
    margin: 30px auto;
}

.legacy-content h3 {
    color: var(--cyan);
    font-size: 19px;
    margin-bottom: 10px;
}

.legacy-subtitle {
    font-size: 12px !important;
    margin-bottom: 30px;
}

.legacy-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 13px 25px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    transition: .3s;
}

.legacy-button:hover {
    background: var(--cyan);
    transform: translateY(-3px);
}

/* =========================================
   FOOTER
========================================= */

.footer {
    background: #062849;
    color: white;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-inner strong {
    font-size: 14px;
}

.footer-inner p {
    font-size: 11px;
    color: #afc8e1;
    margin-top: 5px;
}

.footer-right {
    display: flex;
    gap: 15px;
    font-size: 11px;
}

.footer-right a {
    color: #d6e8ff;
}

.footer-right a:hover {
    color: var(--cyan);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 15px;
    font-size: 10px;
    color: #a9bfd4;
}

/* =========================================
   ANIMATION
========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {

    .brand-inner {
        flex-wrap: wrap;
    }

    .dhr-brand img {
        width: 270px;
    }

    .programme-name strong {
        font-size: 13px;
    }

    .profile-card {
        grid-template-columns: 270px 1fr;
    }

    .profile-content {
        padding: 30px;
    }

    .profile-highlights {
        gap: 12px;
    }

    .hero-bottom {
        left: 0;
        right: 0;
        justify-content: center;
        padding: 14px;
    }

}

@media (max-width: 650px) {

    .top-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 18px;
    }

    .top-links {
        flex-wrap: wrap;
    }

    .gov {
        gap: 8px;
    }

    .gov-copy strong {
        font-size: 10px;
    }

    .gov-copy span {
        font-size: 9px;
    }

    .brand-inner {
        padding: 15px;
        align-items: flex-start;
    }

    .dhr-brand {
        flex-wrap: wrap;
        gap: 10px;
    }

    .dhr-brand img {
        width: 100%;
        max-width: 290px;
    }

    .brand-divider {
        display: none;
    }

    .programme-name {
        width: 100%;
    }

    .brand-back {
        margin-top: 8px;
    }

    .bhan-hero {
        min-height: 480px;
        background-position: 65% center;
    }

    .hero-content {
        padding: 55px 22px 110px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-bottom {
        gap: 12px;
        font-size: 10px;
    }

    .section-wrap {
        padding: 55px 18px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .profile-card {
        grid-template-columns: 1fr;
    }

    .profile-image-area {
        padding: 30px 15px;
    }

    .profile-content {
        padding: 28px 22px;
    }

    .profile-content h2 {
        font-size: 22px;
    }

    .profile-highlights {
        flex-direction: column;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline-item {
        gap: 12px;
    }

    .timeline-icon {
        width: 48px;
        height: 48px;
        font-size: 15px;
    }

    .timeline::before {
        left: 22px;
    }

    .timeline-card {
        padding: 20px 17px;
    }

    .timeline-card h3 {
        font-size: 15px;
    }

    .timeline-card p {
        font-size: 12px;
    }

    .contribution-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .award-card h3 {
        min-height: auto;
    }

    .legacy-content h2 {
        font-size: 28px;
    }

    .legacy-content h3 {
        font-size: 16px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
